package com.lamber.framework.exception;

/**
 * 参数校验异常
 */
public class ValidationException extends BusinessException {
    public ValidationException(String message) {
        super(message);
        super.status = 406;
    }

    public ValidationException(String message, String field) {
        super(message);
        super.status = 406;
    }

    public ValidationException(Throwable cause) {
        super(cause);
        super.status = 406;
    }

    public ValidationException(String message, int status) {
        super(message, status);
    }

    @Override
    public void printStackTrace(){

    }
}
